import axios from "@/axios"

export function getIndexArticles(data) {
    return axios.post("/index/article/list", data)
}

export function getSearchArticles(data) {
    // return axios.get("/index/article/search", data)
    return axios({
        url: "/index/article/search",
        method: 'GET',
        params: data
      })
    
}

